{include file="public/header" /}
<div class="layui-body">
    <!--tab标签-->
    <div class="layui-tab layui-tab-brief">
        <ul class="layui-tab-title">
            <li class=""><a href="{:url('admin/Goods/index')}">返回</a></li>
        </ul>
        <div class="layui-tab-content">
            <div class="layui-tab-item layui-show">
                    <form class="layui-form form-container" action="{:url('admin/Goods/updatem')}" method="post">
                        <input type="hidden" name="id" value="{$info['id']}">




                        <div class="layui-form-item">
                        <label class="layui-form-label">商品名称</label>
                        <div class="layui-input-block">
                            <input type="text" name="goods_name" value=""  placeholder="请输入商品名称" class="layui-input">
                        </div>
                    </div>





                        <div class="layui-form-item">
                         <label class="layui-form-label">商品价格</label>
                    <div class="layui-input-block">
                        <input type="text" name="goods_price" value=""  placeholder="请输入商品价格" class="layui-input">
                    </div>
                     </div>




                        <div class="layui-form-item">
                            <label class="layui-form-label">商品详情</label>
                    <div class="layui-input-block">
                        <input type="text" name="goods_details" value=""  placeholder="请输入商品详情" class="layui-input">
                    </div>
                </div>

                        <div class="layui-form-item">
                            <label class="layui-form-label">商品数量</label>
                    <div class="layui-input-block">
                        <input type="text" name="goods_number" value=""  placeholder="请输入商品数量" class="layui-input">
                    </div>
                </div>




                        <div class="layui-form-item">
                        <label class="layui-form-label">商品分类</label>
                        <div class="layui-input-block">
                            <select name="goods_class_id" >
                                {volist name="list" id="val"}
                                <option value="{$val.id}">{$val.goods_class_name}</option>
                                {/volist}
                            </select>
                        </div>
                    </div>




                        <div class="layui-form-item">
                        <label class="layui-form-label">商品图片ID</label>
                        <div class="layui-input-block">
                            <input type="text" name="goods_image_id" value=""  class="layui-input">
                        </div>
                    </div>






                        <div class="layui-form-item">
                        <label class="layui-form-label">商品评价</label>
                        <div class="layui-input-block">
                            <input type="text" name="goods_appraise" value=""  placeholder="请输入商品评价" class="layui-input">
                        </div>
                    </div>







                        <div class="layui-form-item">
                        <label class="layui-form-label">普通用户优惠</label>
                        <div class="layui-input-block">
                            <input type="text" name="promotion_money" value=""  placeholder="普通用户优惠价格" class="layui-input">
                        </div>
                    </div>






                        <div class="layui-form-item">
                        <label class="layui-form-label">会员用户优惠</label>
                        <div class="layui-input-block">
                            <input type="text" name="promotion_money_vip" value="" placeholder="会员用户优惠价格" class="layui-input">
                        </div>
                    </div>






                        <div class="layui-form-item">
                        <label class="layui-form-label">商品状态</label>
                        <div class="layui-input-block">
                            <input type="radio" name="deleted" value="2" title="删除" checked="checked">
                            <input type="radio" name="deleted" value="1" title="保留">
                        </div>
                    </div>







                        <div class="layui-form-item">
                        <label class="layui-form-label">排序</label>
                        <div class="layui-input-block">
                            <input type="text" name="sort" value="1"  class="layui-input">
                        </div>
                    </div>





                    <div class="layui-form-item">
                        <div class="layui-input-block">
                            <input type="submit" class="layui-btn" value="保存数据">
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>

{include file="public/footer" /}